import Home from '@/auth/pages/Home'
export default {
  path: '/evaluation-number',
  name: 'evaluation-number',
  meta: {
    title: '评估销号'
  },
  component: Home,
  children: [
    {
      path: 'risk-elimination',
      name: 'risk-elimination',
      meta: {
        title: '风险销号',
      },
      component: () => import('@/views/evaluation-number/risk-elimination.vue')
    },
    //新增销号
    {
      path: 'risk-elimination/:type/:id/:name',
      name: 'risk-elimination-add',
      meta: {
        title: route => `${route.params.name}`,
      },
      component: () => import('@/views/evaluation-number/risk-elimination-add.vue')
    },
    //配置
    {
      path: 'risk-elimination-dispose/:type/:id/:name',
      name: 'risk-elimination-dispose',
      meta: {
        title: route => `${route.params.name}`,
        notCache:false
      },
      component: () => import('@/views/evaluation-number/risk-elimination-dispose.vue')
    },
    // 详情
    {
      path: 'risk-elimination-detail/:type/:id/:name',
      name: 'risk-elimination-detail',
      meta: {
        title: route => `${route.params.name}`,
        notCache:true,
      },
      component: () => import('@/views/evaluation-number/risk-elimination-detail.vue')
    },{//审核
      path: 'risk-elimination-examine/:type/:id/:name',
      name: 'risk-elimination-examine',
      meta: {
        title: route => `${route.params.name}`,
        notCache:false,
      },
      component: () => import('@/views/evaluation-number/examine.vue')
    },{//签发
      path: 'risk-elimination-issue/:type/:id/:name',
      name: 'risk-elimination-issue',
      meta: {
        title: route => `${route.params.name}`,
        notCache:false,
      },
      component: () => import('@/views/evaluation-number/issue.vue')
    },
  ]
}
